package com.desire.bean.sys;

import com.desire.common.validation.group.Modify;
import com.desire.common.validation.group.Save;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-07 周六 15:53
 * @since 17
 */
@Data
@ApiModel(value = "用户实体", description = "用户的数据")
public class User {
    @NotBlank(message = "用户id不能为空", groups = {Modify.class})
    String id;
    @NotBlank(message = "账号不能为空", groups = {Save.class})
    String account;
    String name;
    String dept_id;
    String job;
    String mobile;
    String email;
    String note;
    String euid;
    int usertype;

    String deptno;
}
